package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 选项对象 t_option
 * 
 * @author ruoyi
 * @date 2024-12-01
 */
public class TOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 问题ID */
    @Excel(name = "问题ID")
    private Long qId;

    /** 章节ID */
    @Excel(name = "章节ID")
    private Long cpId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 是否是答案 */
    @Excel(name = "是否是答案")
    private String isAnswer;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long order;

    /** abc序号 */
    @Excel(name = "abc序号")
    private String abc;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setqId(Long qId) 
    {
        this.qId = qId;
    }

    public Long getqId() 
    {
        return qId;
    }
    public void setCpId(Long cpId) 
    {
        this.cpId = cpId;
    }

    public Long getCpId() 
    {
        return cpId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setIsAnswer(String isAnswer) 
    {
        this.isAnswer = isAnswer;
    }

    public String getIsAnswer() 
    {
        return isAnswer;
    }
    public void setOrder(Long order) 
    {
        this.order = order;
    }

    public Long getOrder() 
    {
        return order;
    }
    public void setAbc(String abc) 
    {
        this.abc = abc;
    }

    public String getAbc() 
    {
        return abc;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qId", getqId())
            .append("cpId", getCpId())
            .append("content", getContent())
            .append("image", getImage())
            .append("isAnswer", getIsAnswer())
            .append("order", getOrder())
            .append("abc", getAbc())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("isDelete", getIsDelete())
            .append("remark", getRemark())
            .toString();
    }
}
